- 
		Home
	
 
	- 
Amwal Checkout
 
- 
1.0.25
 
- 
Code
 
- 
Classes
 
-  OrderService 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											31 | 
										
																			
											| Dependencies | 
											12 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											190 | 
										
																			
											| Lines of code | 
											135 | 
										
																			
											| Logical lines of code | 
											90 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											22 | 
										
																			
											| Methods | 
											9 | 
										
																			
											| Properties | 
											1 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 9
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| amwal_cart_order() | 
									A  | 
																	43 | 
													8 | 
													46 | 
							
					
				| apply_discount() | 
									S  | 
																	57 | 
													5 | 
													15 | 
							
					
				| add_item_to_cart() | 
									S  | 
																	61 | 
													4 | 
													13 | 
							
					
				| apply_coupon() | 
									S  | 
																	62 | 
													4 | 
													12 | 
							
					
				| check_cart_items() | 
									S  | 
																	64 | 
													4 | 
													10 | 
							
					
				| assign_shipping_address() | 
									S  | 
																	61 | 
													2 | 
													13 | 
							
					
				| update_order() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| amwal_checkout_order() | 
									S  | 
																	58 | 
													1 | 
													15 | 
							
					
				| coupon_exists() | 
									S  | 
																	80 | 
													1 | 
													3 |